package com.lucun.es_transaction.service;

import com.lucun.es_transaction.entity.Classification;
import com.lucun.es_transaction.entity.Commodity;
import com.lucun.es_transaction.util.JsonResult;

import javax.servlet.http.HttpServletRequest;

public interface ClassificationService {
    JsonResult<?> insert(Classification classification, HttpServletRequest request);
    JsonResult<?> deleteByPrimaryKey(Classification id,HttpServletRequest request);
    JsonResult<?> updateByPrimaryKey(Classification classification,HttpServletRequest request);
    JsonResult<?> updateByPrimaryKeySelective(Classification classification, HttpServletRequest request);
    JsonResult<?> selectByPrimaryKey(Classification classification, HttpServletRequest request);

}
